cmake_minimum_required(VERSION 3.18)

project(test_so_depend_a C)


add_library(static STATIC static.c)
target_compile_options(static PRIVATE "-fvisibility=hidden")
add_library(dynamic SHARED dynamic.c)
target_compile_options(dynamic PRIVATE "-fvisibility=hidden")
target_link_libraries(dynamic static)

